home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
COMLR2.z
/
COMLR2
Wrap
Text File
|
1996-03-14
|
5KB
|
133 lines
____CCCCOOOOMMMMLLLLRRRR2222((((3333FFFF)))) ____CCCCOOOOMMMMLLLLRRRR2222((((3333FFFF))))
NNNNAAAAMMMMEEEE
COMLR2, SCOMLR2 - EISPACK routine. This subroutine finds the
eigenvalues and eigenvectors of a COMPLEX UPPER Hessenberg matrix by the
modified LR method. The eigenvectors of a COMPLEX GENERAL matrix can
also be found if COMHES has been used to reduce this general matrix to
Hessenberg form.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ccccoooommmmllllrrrr2222((((nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, iiiinnnntttt,,,, hhhhrrrr,,,, hhhhiiii,,,, wwwwrrrr,,,, wwwwiiii,,,, zzzzrrrr,,,, zzzziiii,,,,
iiiieeeerrrrrrrr))))
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, iiiieeeerrrrrrrr
iiiinnnntttteeeeggggeeeerrrr iiiinnnntttt((((iiiigggghhhh))))
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn hhhhrrrr((((nnnnmmmm,,,,nnnn)))),,,,hhhhiiii((((nnnnmmmm,,,,nnnn)))),,,,wwwwrrrr((((nnnn)))),,,,wwwwiiii((((nnnn)))),,,,zzzzrrrr((((nnnnmmmm,,,,nnnn)))),,,,zzzziiii((((nnnnmmmm,,,,nnnn))))
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssccccoooommmmllllrrrr2222((((nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, iiiinnnntttt,,,, hhhhrrrr,,,, hhhhiiii,,,, wwwwrrrr,,,, wwwwiiii,,,, zzzzrrrr,,,, zzzziiii,,,,
iiiieeeerrrrrrrr))))
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, iiiieeeerrrrrrrr
iiiinnnntttteeeeggggeeeerrrr iiiinnnntttt((((iiiigggghhhh))))
rrrreeeeaaaallll hhhhrrrr((((nnnnmmmm,,,,nnnn)))),,,,hhhhiiii((((nnnnmmmm,,,,nnnn)))),,,,wwwwrrrr((((nnnn)))),,,,wwwwiiii((((nnnn)))),,,,zzzzrrrr((((nnnnmmmm,,,,nnnn)))),,,,zzzziiii((((nnnnmmmm,,,,nnnn))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On INPUT
NNNNMMMM must be set to the row dimension of two-dimensional array parameters
as declared in the calling program dimension statement.
NNNN is the order of the matrix.
LLLLOOOOWWWW and IGH are integers determined by the balancing subroutine CBAL.
If CBAL has not been used, set LOW=1, IGH=N.
IIIINNNNTTTT contains information on the rows and columns interchanged in the
reduction by COMHES, if performed. Only elements LOW through IGH are
used. If the eigenvectors of the HESSEN- BERG matrix are desired, set
INT(J)=J for these elements.
HHHHRRRR and HI contain the real and imaginary parts, respectively, of the
complex upper Hessenberg matrix. Their lower triangles below the
subdiagonal contain the multipliers which were used in the reduction by
COMHES, if performed. If the eigenvectors of the Hessenberg matrix are
desired, these elements must be set to zero. On OUTPUT The upper
Hessenberg portions of HR and HI have been destroyed, but the location
HR(1,1) contains the norm of the triangularized matrix.
WWWWRRRR and WI contain the real and imaginary parts, respectively, of the
eigenvalues. If an error exit is made, the eigenvalues should be correct
for indices IERR+1,...,N.
ZZZZRRRR and ZI contain the real and imaginary parts, respectively, of the
PPPPaaaaggggeeee 1111
____CCCCOOOOMMMMLLLLRRRR2222((((3333FFFF)))) ____CCCCOOOOMMMMLLLLRRRR2222((((3333FFFF))))
eigenvectors. The eigenvectors are unnormalized. If an error exit is
made, none of the eigenvectors has been found.
IIIIEEEERRRRRRRR is set to Zero for normal return, J if the J-th
eigenvalue has not been
determined after a total of 30*N iterations. Calls CSROOT for complex
square root. Calls CDIV for complex division. Questions and comments
should be directed to B. S. Garbow, APPLIED MATHEMATICS DIVISION, ARGONNE
NATIONAL LABORATORY
PPPPaaaaggggeeee 2222